import request from '@/utils/request'
export function reqLogin(data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}

export const reqGetUserInfo = () => {
  return request({
    method: 'post',
    url: '/sys/profile'
  })
}

export const reqGetUserDetailById = (id) => request({
  url: `/sys/user/${id}`
})
export function logout() {

}
